package club.haomoon.boss.vo.system;


import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@Schema(title = "管理员")
public class AuthMySelfVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;
   @Schema(title  = "账号")
    private String account;

   @Schema(title  = "用户头像")
    private String avatar;
   @Schema(title  = "部门关联ID")
    @JsonProperty(value = "dept_id")
    private List<Integer> deptId;
   @Schema(title  = "当前管理员角色拥有的菜单")
    private Integer disable;
   @Schema(title  = "当前管理员角色拥有的菜单")
    @JsonProperty(value = "jobs_id")
    private List<Integer> jobsId;

   @Schema(title  = "当前管理员角色拥有的菜单")
    @JsonProperty(value = "multipoint_login")
    private Integer multipointLogin;
   @Schema(title  = "当前管理员角色拥有的菜单")
    private String name;

   @Schema(title  = "当前管理员角色拥有的菜单")
    @JsonProperty(value = "role_id")
    private List<Integer> roleId;

   @Schema(title  = "当前管理员角色拥有的菜单")
    private Integer root;
}
